package com.runrunfast.fxj.service;

import com.runrunfast.fxj.form.PageForm;
import com.runrunfast.fxj.vo.PageVo;
import com.runrunfast.fxj.vo.SysUserAddVo;
import com.runrunfast.fxj.vo.SysUserVo;
import com.runrunfast.fxj.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 后台用户表 服务类
 * </p>
 *
 * @author 陈胤训
 * @since 2019-03-12
 */
public interface ISysUserService extends IService<SysUser> {

    List<SysUser> listByRoleId(Integer roleId);

    Boolean add(SysUserAddVo user);

    Boolean updateInfo(SysUserVo userVO);

    PageVo<SysUserVo> getPageUserList(PageForm pageVo, String username);
}
